'use strict'

//Crawler
var Reptile = require('reptile');
var articles = require('./models/articles'); // 创建一个表
var initDb=require('./utils/initDb'); //判断表是否存在
var cra=require('./app');
//var url='https://book.douban.com/top250?start=';
initDb();

for(let i=0;i<=250;){
    cra(url+i);
   // console.log(i);
    i=i+25
}
